﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;  //序列化

[DataContract]//必须申明，否则无法序列化
public class Score
{
    [DataMember(Name = "userId")]//必须申明，否则无法序列化
    private string _userId;

    public string UserId
    {
        get { return _userId; }
        set { _userId = value; }
    }
    [DataMember(Name = "userName")]//必须申明，否则无法序列化
    private string _userName;

    public string UserName
    {
        get { return _userName; }
        set { _userName = value; }
    }
    [DataMember(Name = "templateId")]//必须申明，否则无法序列化
    private string _templateId;

    public string TemplateId
    {
        get { return _templateId; }
        set { _templateId = value; }
    }
    [DataMember(Name = "eventName")]//必须申明，否则无法序列化
    private string _eventName;

    public string EventName
    {
        get { return _eventName; }
        set { _eventName = value; }
    }
    [DataMember(Name = "className")]//必须申明，否则无法序列化
    private string _className;

    public string ClassName
    {
        get { return _className; }
        set { _className = value; }
    }
    [DataMember(Name = "confirmType")]//必须申明，否则无法序列化
    private string _confirmType;

    public string ConfirmType
    {
        get { return _confirmType; }
        set { _confirmType = value; }
    }
    [DataMember(Name = "eventContent")]//必须申明，否则无法序列化
    private Content1 eventContent;

    public Content1 EventContent
    {
        get { return eventContent; }
        set { eventContent = value; }
    }


    [DataMember(Name = "userCode")]//必须申明，否则无法序列化
    private string _userCode;

    public string UserCode
    {
        get { return _userCode; }
        set { _userCode = value; }
    }
    [DataMember(Name = "totalScore")]//必须申明，否则无法序列化
    private string _totalScore;

    public string TotalScore
    {
        get { return _totalScore; }
        set { _totalScore = value; }
    }
    [DataMember(Name = "totalScoreRanking")]//必须申明，否则无法序列化
    private string _totalScoreRanking;

    public string TotalScoreRanking
    {
        get { return _totalScoreRanking; }
        set { _totalScoreRanking = value; }
    }
    [DataMember(Name = "multipleChoiceRanking")]//必须申明，否则无法序列化
    private string _multipleChoiceRanking;

    public string MultipleChoiceRanking
    {
        get { return _multipleChoiceRanking; }
        set { _multipleChoiceRanking = value; }
    }
    [DataMember(Name = "windowsRanking")]//必须申明，否则无法序列化
    private string _windowsRanking;

    public string WindowsRanking
    {
        get { return _windowsRanking; }
        set { _windowsRanking = value; }
    }
    [DataMember(Name = "wordRanking")]//必须申明，否则无法序列化
    private string _wordRanking;

    public string WordRanking
    {
        get { return _wordRanking; }
        set { _wordRanking = value; }
    }
    [DataMember(Name = "excelRanking")]//必须申明，否则无法序列化
    private string _excelRanking;

    public string ExcelRanking
    {
        get { return _excelRanking; }
        set { _excelRanking = value; }
    }
    [DataMember(Name = "PPTRanking")]//必须申明，否则无法序列化
    private string _PPTRanking;

    public string PPTRanking
    {
        get { return _PPTRanking; }
        set { _PPTRanking = value; }
    }
    [DataMember(Name = "IERanking")]//必须申明，否则无法序列化
    private string _IERanking;

    public string IERanking
    {
        get { return _IERanking; }
        set { _IERanking = value; }
    }

    //public string TotalScore { get => _totalScore; set => _totalScore = value; }
    //public string TotalScoreRanking { get => _totalScoreRanking; set => _totalScoreRanking = value; }
    //public string MultipleChoiceRanking { get => _multipleChoiceRanking; set => _multipleChoiceRanking = value; }
    //public string WindowsRanking { get => _windowsRanking; set => _windowsRanking = value; }
    //public string WordRanking { get => _wordRanking; set => _wordRanking = value; }
    //public string ExcelRanking { get => _excelRanking; set => _excelRanking = value; }
    //public string PPTRanking { get => _PPTRanking; set => _PPTRanking = value; }
    //public string IERanking { get => _IERanking; set => _IERanking = value; }
    //public string UserId { get => _userId; set => _userId = value; }
    //public string UserName { get => _userName; set => _userName = value; }
    //public string TemplateId { get => _templateId; set => _templateId = value; }
    //public string EventName { get => _eventName; set => _eventName = value; }
    //public string ClassName { get => _className; set => _className = value; }
    //public string ConfirmType { get => _confirmType; set => _confirmType = value; }
    //public string UserCode { get => _userCode; set => _userCode = value; }
    //public Content1 EventContent { get => eventContent; set => eventContent = value; }
}

